package com.caishi.lkx.exam.mapper;

import com.caishi.lkx.exam.model.WeekRankModel;
import com.zzw.common.entity.IBSMapper;

import org.apache.ibatis.annotations.Param;

public interface WeekRankMapper extends IBSMapper<WeekRankModel, Long> {

    /**获取用户本周排名 根据科目
     * @param userId 用户ID
     * @param categoryId 科目ID
     * @return
     */
    Long getUserWeekRank(@Param("userId") String userId,@Param("categoryId") Long categoryId);
}
